using System;

namespace AdvancedGod.People.Couples
{
  /// <summary>
  /// Exception about two same-sex peoples trying took part in coupling
  /// </summary>
  public class SameSexException : Exception
  {
    #region public properties
    /// <summary>
    /// First human
    /// </summary>
    public Sex Sex { get; private set; }
    #endregion

    #region public methods
    /// <summary>
    /// Constructor
    /// </summary>
    /// <param name="sex">sex of peoples</param>
    public SameSexException(Sex sex)
    {
      Sex = sex;
    }
    #endregion

  }
}